package org.despair2D.ui.supportClasses 
{
	import flash.events.Event;
	import org.despair2D.debug.Logger;
	import org.despair2D.model.RangeProperty;
	import org.despair2D.ui.Fusion;
	
	import org.despair2D.core.ns_despair
	use namespace ns_despair;
	
public class AbstractRange extends Fusion 
{
	
	public function AbstractRange( v:Number = 0, min:Number = 0, max:Number = 100, snapInterval:Number = 0 ) 
	{
		super()
		m_range = new RangeProperty(v, min, max, snapInterval)
	}
	
	
	public function get range() : RangeProperty
	{
		return m_range
	}
	
	
	override ns_despair function dispose() : void
	{
		super.dispose()
		m_range.dispose()
		m_range = null
	}
	
	
	ns_despair var m_range:RangeProperty
}
}